package com.ruoyi.flowable.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 事项版本业务对象 flow_app_version
 *
 * @author zxw
 * @date 2023-03-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppVersionBo extends BaseEntity {

    /**
     * 版本ID
     */
    private Long versionId;

    /**
     * 事项ID
     */
    @NotNull(message = "事项ID不能为空", groups = { AddGroup.class})
    private Long appId;

    /**
     * 表单版本ID
     */
    @NotNull(message = "表单版本ID不能为空", groups = { AddGroup.class})
    private Long formVersionId;

    /**
     * 流程部署ID
     */
    private String deployId;

    /**
     * 流程定义ID
     */
    private String defId;

    /**
     * 流程图
     */
    private String bpmnXml;


}
